<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>垂直方向的计算</title>
	<style>
	div {
		width: 200px;
		height: 200px;
		border: 1px solid #ff8800;
	}
	#div1 {
		margin-bottom:50px;
	}
	#div2 {
		margin-top:40px;
	}
	</style>
</head>
<body>
	<div id="div1">1</div>
	<div id="div2">2</div>
</body>
</html>